package com.speak.sparkadminserver.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * @version 1.0
 * @Author Xing
 * @Date 2023/2/17 19:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("nut_user")
public class NutUser {
    @TableId(type = IdType.ASSIGN_ID)
    @TableField("id")
    private Long id;
    @TableField("username")
    private String username;
    @TableField("password")
    private String password;
    @TableField("email")
    private String email;
    @TableField("is_admin")
    private int isAdmin;
    @TableField("tel")
    private Long tel;
    @TableField("real_name")
    private String realName;
    @TableField("remarks")
    private String remarks;
    @TableField("status")
    private boolean status;
    private Integer delFlag;
}
